#pragma once

#include <QtCore>
#include <QtGui>
#include <QtOpenGL>
#include "abstractrenderhandler.h"

class SASForm : public QGLWidget
{
	Q_OBJECT
public:
    SASForm(QWidget *parent = 0);
    ~SASForm();


//signals:
//    void xRotationChanged(int angle);
//    void yRotationChanged(int angle);
//    void zRotationChanged(int angle);

protected:
    void initializeGL();	
    void paintGL();
	void resizeGL(int width, int height);
	void mousePressEvent(QMouseEvent *event);
    void mouseMoveEvent(QMouseEvent *event);

private slots:
	void slotPaintSAS();

private:
	AbstractRenderHandler *renderHandler;
};